package com.zm.se.entity;


import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Emp implements Serializable {
    private static final long serialVersionUID = -9154272672934169823L;
    private Integer id;
    @ExcelProperty(index = 0,value = "员工姓名")
    private String username;
    @ExcelProperty(index = 1,value = "员工工号")
    private String num;
    @ExcelProperty(index = 2,value = "电话")
    private String phone;
    @ExcelProperty(index = 3,value = "性别")
    private String sex;
    @ExcelProperty(index = 4,value = "年龄")
    private Integer age;
    @ExcelProperty(index = 5,value = "邮箱")
    private String email;

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }


  public String getNum() {
    return num;
  }

  public void setNum(String num) {
    this.num = num;
  }


  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

    public Integer getAge() {
        return age;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
